package com.yj.provider.handlerMethodArgument;

import com.sun.corba.se.impl.oa.toa.TOA;
import lombok.Data;

import java.util.List;

@Data
public class PageableRequest{

    private int page;
    private int pageSize;

    public PageableRequest(int page,int pageSize){
        this.page = page;
        this.pageSize = pageSize;
    }

    public int getPage() {
        return page;
    }

    public void setPage(int page) {
        this.page = page;
    }

    public int getPageSize() {
        return pageSize;
    }

    public void setPageSize(int pageSize) {
        this.pageSize = pageSize;
    }
}
